<?php
	require('jacked_functions.php');
	
	if(!validateLogin()){
		exit();
	}
	
	require('jacked_updaterFunctions.php');
	
	//template
    $nav_top = array(
        'admin' => true
	);
	$nav_bottom = array(
		'updater' => true
	);
    $hide_sidebar = true;
	
	$jacked_jsVars = array(array('name' => 'mods', 'value' => jackedUpdaterGetModuleVersions()));
	
    require('bodyTop.php'); 
	
	echo JACKED_HEADING_STRING;
?>	

   	<h2>JACKED Updater</h2>
	<h3>This is <span class="highlight">JACKED <?php echo JACKED_CLIENT_VERSION; ?> </span></h3>
    
    <div id="updaterBox">
    	<h3>JACKED Updater</h3>
        
        <div id="updaterStatus">
        	<button id="startUpdater">Start Updater</button>
        </div>
	</div>


<?php	
	require('bodyBottom.php');
?>